<template>
  <div>
      <div>
          <input type="text" placeholder="请输入账号">
      </div>
      <div>
          <input type="password" placeholder="请输入密码">
      </div>
  </div>
</template>

<script>
export default {

    created () {
        console.log('UserName创建了')
    },

    destroyed () {
        console.log('UserName销毁了')
    },

    activated () {
        console.log('activated-显示了')
    },
    deactivated () {
        console.log('deactivated-隐藏了')
    }
}
</script>

<style>

</style>